﻿@model CDIO.Models.GiftModel
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="container-fluid">
                <div class="row-fluid">
                    <div class="span12">

                        <!-- 内容左侧当前页描述tab -->
                        <ul class="breadcrumb">
                            <li><a class="btn_logo" ><i class="icon-home"></i></a><span class="divider">&nbsp;</span></li>
                            <li><a href="#">礼品管理</a><span class="divider">&nbsp;</span></li>
                            <li><a href="#">礼品详细</a><span class="divider-last">&nbsp;</span></li>

                            <!-- 内容右侧搜索框 -->
                            <li class="pull-right search-wrap">
                                        <form class="hidden-phone" />
                                        <div class="search-input-area">
                                            <input id=" " class="search-query" type="text" placeholder="搜索" /><i class="icon-search"></i></div>
                                        </form>
                            </li>
                         </ul>
                    </div>
                </div>
                <div id="page" class="dashboard">
                    <!-- 添加礼品 -->
                    <div class="row-fluid">
                    <div class="span12">
                        <div class="widget">
                            <div class="widget-title">
                                <h4><i class="icon-reorder"></i>礼品基本信息</h4>
                                <span class="tools"><a href="javascript:;" class="icon-chevron-down"></a><a href="javascript:;"  class="icon-remove"></a></span>
                            </div>
                            <div class="widget-body">
                                <div class="span3">
                                    <!-- 礼品图片 -->
                                    <div class="text-center profile-pic">
                                        <img src="../Content/img/profile-pic.jpg" alt="" />
                                     </div>
                                </div>
                                 <div class="span7">
                                    <div class="form-horizontal">
                                          <div class="control-group">
                                            <label class="control-label">礼品ID</label>
                                            <div class="controls">
                                              <input type="text" placeholder="id" class="input-small" value="@Model._gift_id" id="text_gift_id"/>
                                            </div>
                                          </div>

                                          <div class="control-group">
                                            <label class="control-label">名称</label>
                                            <div class="controls">
                                              <input type="text" placeholder="name" class="input-small" value="@Model._gift_name"  id="text_gift_name"/>
                                            </div>
                                          </div>

                                          <div class="control-group">
                                            <label class="control-label">积分要求</label>
                                            <div class="controls">
                                              <input type="text" placeholder="0" class="input-small"  value="@Model._gift_credit" id="text_gift_credit"/>
                                            </div>
                                          </div>

                                          <div class="control-group">
                                            <label class="control-label">数量</label>
                                            <div class="controls">
                                              <input type="text" placeholder="0" class="input-small"  value="@Model._gift_account" id="text_gift_account"/>
                                            </div>
                                          </div>

                                          <div class="control-group">
                                            <label class="control-label">状态</label>
                                            <div class="controls">
                                              <select class="input-large m-wrap" tabindex="1" id="text_gift_state">
                                              <option <% "selected"%>@Model._gift_state</option>  
                                              <option value="可兑换" />可兑换
                                              <option value="待处理" />待处理
                                              <option value="不可兑换" />不可兑换
                                              </select>
                                            </div>
                                          </div>

                                          <div class="control-group">
                                            <label class="control-label">类别</label>
                                            <div class="controls">
                                              <select class="input-large m-wrap" tabindex="1" id="text_gift_type">
                                              <option <% "selected"%>@Model._gift_type</option>  
                                              <option value="日用" />日用
                                              <option value="数码" />数码
                                              <option value="服装" />服装
                                              <option value="书籍" />书籍
                                              <option value="其他" />其他
                                              </select>
                                            </div>
                                          </div>

                                          <div class="control-group">
                                            <label class="control-label">兑换时间</label>
                                            <div class="controls">
                                            <div class="input-prepend">
                                                <span class="add-on">
                                                  <i class="icon-calendar"></i>
                                                </span>
                                                <input type="text" class="m-ctrl-medium date-range" value="@Model._gift_rangetime" id="text_gift_rangetime"/>
                                              </div>
                                            </div>
                                          </div>

                                          <div class="control-group">
                                            <label class="control-label">入库时间</label>
                                            <div class="controls">
                                            <div class="input-append date date-picker" data-date="12-02-2012" data-date-format="dd-mm-yyyy" data-date-viewmode="years">
                                                <input class="m-ctrl-medium date-picker" size="16" type="text" value="@Model._gift_sorttime" id="text_gift_sorttime"/>
                                                <span class="add-on">
                                                  <i class="icon-calendar"></i>
                                                </span>
                                              </div>
                                            </div>
                                          </div>

                                          <div class="control-group">
                                            <label class="control-label">描述</label>
                                            <div class="controls">
                                              <textarea class="input-xlarge" rows="3"  id="text_gift_descript">@Model._gift_descript</textarea>
                                            </div>
                                          </div>

                                          <div class="control-group">
                                            <label class="control-label"></label>
                                            <div class="controls"> 
                                                 <a class="icon-btn span2" id="btn_gift_change"><i class="icon-bullhorn"></i><div>修改</div></a>
                                            </div>
                                          </div>

                                        </div>
                                 </div>
                                <div class="space5">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                    <div class="row-fluid">
                        <div class="span12">
                            <div class="widget">
                                <div class="widget-title">
                                    <h4><i class="icon-camera-retro"></i>礼品相关图片</h4>
                                    <span class="tools"><a href="javascript:;" class="icon-chevron-down"></a><a href="javascript:;" class="icon-remove"></a></span>
                                </div>
                                <div class="widget-body">
                                    <div class="row-fluid">
                                    <a class="icon-btn span2" href="#"><i class="icon-bullhorn"></i><div>添加图片</div><span class="badge badge-warning">14</span></a>
                                    </div>
                                    <hr class="clearfix" />
                                    <div class="row-fluid">
                                        <div class="span2">
                                            <div class="thumbnail">
                                                <div class="item">
                                                    <a class="fancybox-button" data-rel="fancybox-button" title="Photo" href="../Content/img/gallery/photo1.jpg">
                                                        <div class="zoom">
                                                            <img src="../Content/img/gallery/photo1.jpg" alt="Photo" /><div class="zoom-icon">
                                                            </div>
                                                        </div>
                                                    </a>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="span2">
                                            <div class="thumbnail">
                                                <div class="item">
                                                    <a class="fancybox-button" data-rel="fancybox-button" title="Photo" href="../Content/img/gallery/photo2.jpg">
                                                        <div class="zoom">
                                                            <img src="../Content/img/gallery/photo2.jpg" alt="Photo" /><div class="zoom-icon">
                                                            </div>
                                                        </div>
                                                    </a>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="span2">
                                            <div class="thumbnail">
                                                <div class="item">
                                                    <a class="fancybox-button" data-rel="fancybox-button" title="Photo" href="../Content/img/gallery/photo3.jpg">
                                                        <div class="zoom">
                                                            <img src="../Content/img/gallery/photo3.jpg" alt="Photo" /><div class="zoom-icon">
                                                            </div>
                                                        </div>
                                                    </a>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="span2">
                                            <div class="thumbnail">
                                                <div class="item">
                                                    <a class="fancybox-button" data-rel="fancybox-button" title="Photo" href="../Content/img/gallery/photo4.jpg">
                                                        <div class="zoom">
                                                            <img src="../Content/img/gallery/photo4.jpg" alt="Photo" /><div class="zoom-icon">
                                                            </div>
                                                        </div>
                                                    </a>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="span2">
                                            <div class="thumbnail">
                                                <div class="item">
                                                    <a class="fancybox-button" data-rel="fancybox-button" title="Photo" href="../Content/img/gallery/photo5.jpg">
                                                        <div class="zoom">
                                                            <img src="../Content/img/gallery/photo5.jpg" alt="Photo" /><div class="zoom-icon">
                                                            </div>
                                                        </div>
                                                    </a>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="span2">
                                            <div class="thumbnail">
                                                <div class="item">
                                                    <a class="fancybox-button" data-rel="fancybox-button" title="Photo" href="../Content/img/gallery/photo6.jpg">
                                                        <div class="zoom">
                                                            <img src="../Content/img/gallery/photo6.jpg" alt="Photo" /><div class="zoom-icon">
                                                            </div>
                                                        </div>
                                                    </a>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="space10">
                                    </div>
                              
                                    <div class="space10">
                                    </div>
                                    <div class="row-fluid">
                                        <div class="span2">
                                            <div class="thumbnail">
                                                <div class="item">
                                                    <a class="fancybox-button" data-rel="fancybox-button" title="Photo" href="../Content/img/gallery/photo7.jpg">
                                                        <div class="zoom">
                                                            <img src="../Content/img/gallery/photo7.jpg" alt="Photo" /><div class="zoom-icon">
                                                            </div>
                                                        </div>
                                                    </a>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="span2">
                                            <div class="thumbnail">
                                                <div class="item">
                                                    <a class="fancybox-button" data-rel="fancybox-button" title="Photo" href="../Content/img/gallery/photo8.jpg">
                                                        <div class="zoom">
                                                            <img src="../Content/img/gallery/photo8.jpg" alt="Photo" /><div class="zoom-icon">
                                                            </div>
                                                        </div>
                                                    </a>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="span2">
                                            <div class="thumbnail">
                                                <div class="item">
                                                    <a class="fancybox-button" data-rel="fancybox-button" title="Photo" href="../Content/img/gallery/photo9.jpg">
                                                        <div class="zoom">
                                                            <img src="../Content/img/gallery/photo9.jpg" alt="Photo" /><div class="zoom-icon">
                                                            </div>
                                                        </div>
                                                    </a>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="span2">
                                            <div class="thumbnail">
                                                <div class="item">
                                                    <a class="fancybox-button" data-rel="fancybox-button" title="Photo" href="../Content/img/gallery/photo1.jpg">
                                                        <div class="zoom">
                                                            <img src="../Content/img/gallery/photo10.jpg" alt="Photo" /><div class="zoom-icon">
                                                            </div>
                                                        </div>
                                                    </a>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="span2">
                                            <div class="thumbnail">
                                                <div class="item">
                                                    <a class="fancybox-button" data-rel="fancybox-button" title="Photo" href="../Content/img/gallery/photo2.jpg">
                                                        <div class="zoom">
                                                            <img src="../Content/img/gallery/photo11.jpg" alt="Photo" /><div class="zoom-icon">
                                                            </div>
                                                        </div>
                                                    </a>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="span2">
                                            <div class="thumbnail">
                                                <div class="item">
                                                    <a class="fancybox-button" data-rel="fancybox-button" title="Photo" href="../Content/img/gallery/photo3.jpg">
                                                        <div class="zoom">
                                                            <img src="../Content/img/gallery/photo12.jpg" alt="Photo" /><div class="zoom-icon">
                                                            </div>
                                                        </div>
                                                    </a>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="space10">
                                    </div>
                                    <div class="row-fluid">
                                        <div class="span2">
                                            <div class="thumbnail">
                                                <div class="item">
                                                    <a class="fancybox-button" data-rel="fancybox-button" title="Admin Lab photo" href="img/gallery/photo4.png">
                                                        <div class="zoom">
                                                            <img src="../Content/img/gallery/photo13.jpg" alt="Photo" /><div class="zoom-icon">
                                                            </div>
                                                        </div>
                                                    </a>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="span2">
                                            <div class="thumbnail">
                                                <div class="item">
                                                    <a class="fancybox-button" data-rel="fancybox-button" title="Admin Lab photo" href="img/gallery/photo5.png">
                                                        <div class="zoom">
                                                            <img src="../Content/img/gallery/photo14.jpg" alt="Photo" /><div class="zoom-icon">
                                                            </div>
                                                        </div>
                                                    </a>
                                                </div>
                                            </div>
                                        </div>
                                        
                                        
                                    </div>
                                    
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
